home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
demos
/
gray.lzh
/
FLOYD.DOC
next >
Wrap
Text File
|
1991-05-14
|
1KB
|
38 lines
* THIS PROGRAM IS WRITTEN BY KLAUS PEDERSEN - micro@imada.ou.dk *
* The program NEEDS a ST with High rez monitor, and serverves as*
* demostration ONLY. *
The program have the following switches :
Wn : set the Width. (default 575)
Hn : -- '' -- Height. (default 400)
Rn : (RAND*16) amount of Random 'dynamic' noise. (fixed point)
Ln : (Laplace*4) filter constant. (fixed point)
Fn : if n != 0 then Flicker (3 screen)
else no Flicker (basic floyd-steinberg)...
Np : Load Low-rez NEO picture (and keep as 320x200)
and Show picture.
Zp : Load Low-rez NEO picture (and Zoom to 640x400)
and Show picture.
Tp : Load 256 grayscale picture (uncompressed TIFF)-
skip first 82 bytes, load W*H bytes,
and show picture as W times H pixels.
'p' - Path to file.
'n' - number.
NOTE : that all commands are in capital letters.
NOTE : that only the first n*16 pixels can be shown in the width.
- where n = int( width/16 )
examples:
o to load a NEO picture and Zoom:
"floyd7 R16 L-4 Zg:\pictures\demos\moreta.neo"
'L-4' means smooth edges, or *remove* edges.
o to load a 512x350 pixel TIFF picture:
"floyd7 F1 R0 W512 H350 Zp:\scanner\girls.tif"